﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Volo.Abp.Identity.Settings.IdentitySettingNames;

namespace SanJ.FreeCare.HealthcareServices
{
    /// <summary>
    /// 医疗保健服务可用性
    /// </summary>
    public class HealthcareServiceAvailability
    {
        /// <summary>
        /// mon | tue | wed | thu | fri | sat | sun
        /// </summary>
        public string[] DaysOfWeekCode { get; private set; }

        /// <summary>
        /// Always available? i.e. 24 hour service
        /// 总是可用？即24小时服务
        /// </summary>
        public bool AllDay { get; private set; }

        /// <summary>
        /// Opening time of day (ignored if allDay = true)
        /// 一天中的开放时间（如果allDay=true，则忽略）
        /// </summary>
        public DateTime AvailableStartTime { get; private set; }

        /// <summary>
        /// Closing time of day (ignored if allDay = true)
        /// 一天中的关闭时间（如果allDay=true，则忽略）
        /// </summary>
        public DateTime AvailableEndTime { get; private set; }

        /// <summary>
        /// Not available during this time due to provided reason
        /// Reason presented to the user explaining why time not available
        /// 向用户说明时间不可用的原因
        /// </summary>
        public string NotAvailableTimeDescription { get; private set; }

        /// <summary>
        /// Service not available during this period
        /// 在此期间不提供服务-起始时间
        /// </summary>
        public DateTime DuringStartTime { get; private set; }

        /// <summary>
        /// Service not available during this period
        /// 在此期间不提供服务-最终时间
        /// </summary>
        public DateTime DuringEndTime { get; private set; }


    }
}
